package com.example.academic_affairs_system.model.vo.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * 用户视图对象
 *
 * @author hjx
 * @since 2023/02/05 11:18 AM
 */
@Data
@Builder
@ApiModel("用户简要信息视图对象")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserInfoVO {
  @ApiModelProperty("主键约束")
  private Long userId;

  @ApiModelProperty("用户账号")
  private String username;

  @ApiModelProperty("用户昵称")
  private String nickname;

  @ApiModelProperty("身份证")
  private String idCard;

  @ApiModelProperty("年龄")
  private Integer age;

  @ApiModelProperty("性别")
  private Boolean sex;

  @ApiModelProperty("联系方式")
  private String concat;

  @ApiModelProperty("家庭联系方式")
  private String familyConcat;

  @ApiModelProperty("籍贯")
  private String origin;

  @ApiModelProperty("家庭住址")
  private String address;
}
